package com.jzlin.funhub.admin.model.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.jzlin.funhub.framework.core.db.BaseEntity;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 问题回答表
 * </p>
 *
 * @author jzlin
 * @since 2025-07-07
 */
@Getter
@Setter
@TableName(value = "question_answer", autoResultMap = true)
public class QuestionAnswer extends BaseEntity {

    private static final long serialVersionUID = 1L;
    /**
     * 问题id
     */
    private Long questionId;

    /**
     * 回复内容
     */
    private String content;

    /**
     * 是否通过审核
     */
    private Boolean isApproved;

    /**
     * 是否最佳答案
     */
    private Boolean isAccepted;

    /**
     * 赞同数
     */
    private Long voteCount;
}
